import React from 'react';
import { hydrateRoot } from 'react-dom/client';
import routes from './route/routes';
import { RouterProvider, createBrowserRouter } from 'react-router-dom';

let router = createBrowserRouter(routes);

hydrateRoot(document.getElementById('root'), <RouterProvider router={router} />);
